<include file="Layout:header"/>
<div id="content">
    <div class="layout-grid mb clearfix">
        <div class="w220 mr fl">
            <include file="Good:b_cate"/><include file="Good:b_hot"/><!--end cui-box4-->
        </div><!--end w220-->
        <div class="w770 fl">
            <div class="crumbs_nav mb">
                <empty name="_GET['name']">
                    <span class="icon">当前位置：</span>
                    <a href="/">首页</a>
                    &gt; 
                    <eq name="pcates[$_GET['path']]['parent']" value="0">
                        <a href="{:U('Good/Category'.initurl('path',$_GET['path'],$urlmap))}">{$pcates[$_GET['path']]['name']}</a>
                        <else/><a href="{:U('Good/Category?path='.$vcates[$pcates[$_GET['path']]['parent']]['path'])}">{$vcates[$pcates[$_GET['path']]['parent']]['content']['name']}</a>
                        &gt; <a href="{:U('Good/Category'.initurl('path',$_GET['path'],$urlmap))}">{$pcates[$_GET['path']]['name']}</a>
                    </eq>
                    <else/><span class="icon">当前位置：</span>
                    <a href="/">首页</a>
                    &gt; <a href="#">搜索结果</a>
                </empty>
            </div>
            <include file="Good:b_search"/><!--end p_classify-->
            <div class="p_sort">
                <ul class="p_ul">
                    <li
                        <empty name="_GET['oby']">
                            <empty name="_GET['is_promote']">
                                class="active"
                            </empty>
                        </empty>
                        <eq name="_GET['oby']" value="good_id">
                            <empty name="_GET['is_promote']">
                                class="active"
                            </empty>
                        </eq>
                        <eq name="_GET['oby']" value="oid">
                            <empty name="_GET['is_promote']">
                                class="active"
                            </empty>
                        </eq>><a href="{:U('Good/Category?path='.$_GET['path'])}"><span>全部商品</span></a>
                    </li>
                    <li
                        <eq name="_GET['oby']" value="order_count">
                            class="active"
                        </eq>><a href="{:U('Good/Category'.initurl('is_promote','',$urlmap,'order_count'))}"><span>按销量展示</span></a>
                    </li>
                    <li
                        <eq name="_GET['is_promote']" value="1">
                            class="active"
                        </eq>><a href="{:U('Good/Category'.initurl('is_promote','1',$urlmap,'oid'))}"><span>特价商品</span></a>
                    </li>
                </ul>
                <!--page start-->
                <div class="page">
                    {$addpage}
                </div>
                <!--page end-->
            </div>
            <!--p_sort end-->
            <div class="present_list">
                <empty name="datalist">
                    <p align="center">
                        没有找到相关商品.
                    </p>
                </empty>
                <ul class="list clearfix">
                    <volist name="datalist" id="vo">
                        <li>
                            <dl>
                                <dt>
                                    <a class="img_box" href="{:U('Good/show?good_id='.$vo['good_id'])}"><span class="img_h">{$vo['thumb']|advstr='170px','170px',$srcpre,'alt:'.$vo['name']}</span></a>
                                    <eq name="vo.is_lack" value="1">
                                        <span class="icon"><img width="53" height="53" src="../Public/Images/qh_icon.gif"></span><else/>
                                        <eq name="vo.is_promote" value="1">
                                            <span class="icon"><img width="53" height="53" src="../Public/Images/icon/tj_icon.gif" /></span>
                                        </eq>
                                    </eq>
                                </dt>
                                <dd class="name">
                                    <h3><a href="{:U('Good/show?good_id='.$vo['good_id'])}" class="blue" target="_blank">{$vo.name}</a></h3>
                                </dd>
                                <dd>
                                    <p class="bbprice-us">
                                        <span>￥</span>
                                        <eq name="vo.is_promote" value="1">
                                            {$vo.promote_fee|substr=0,-3}<else/>{$vo.shop_fee|substr=0,-3}
                                        </eq>
                                    </p>
                                    <p class="bbprice-sl gray6">
                                        最近销售<span class="sl">{$vo.order_count}</span>件
                                    </p>
                                </dd>
                            </dl>
                        </li>
                    </volist>
                </ul>
                <div class="clear">
                </div>
            </div>
            <!--present_list end-->
            <div class="page tr">
                {$page}
            </div>
            <!--page end--><include file="Good:b_tuijian"/><!--present_list end--><include file="Good:b_btsearch"/><!--btsearch end-->
        </div><!--end w770-->
    </div><include file="Index:b_help"/><!--end index-hlep-->
</div><include file="Layout:footer"/>